package com.example.demo.sys.entity;

import com.example.demo.common.tools.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *  chrimer
 * </p>
 *
 * @author chrimer
 * @since 2020-06-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Classdiscuss extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 课程id
     */
    private String username;

    /**
     * 讨论
     */
    private String discuss;

    /**
     * 创建时间YYYYMMDD hhmmss
     */
    private String creatTime;

    /**
     * 课程评分
     */
    private Double grade;

    /**
     * 点赞数
     */
    private Integer praise;

    /**
     * 课程id
     */
    @TableField("courseId")
    private String courseId;


}
